package com.sh.api.configuration;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import java.util.Map;

@FeignClient(name = "res-food")
public interface ResfoodApi {

    @RequestMapping(value = "resfood/findById/{fid}", method = RequestMethod.GET)
    Map<String, Object> findById(@PathVariable Integer fid);

}
